import request from '@/utils/request'

// 查询持有型物业-项目费用列表
export function listDealBusinessExpense(query) {
  return request({
    url: '/expense/dealBusinessExpense/list',
    method: 'get',
    params: query
  })
}

// 查询持有型物业-项目费用详细
export function getDealBusinessExpense(id) {
  return request({
    url: '/expense/dealBusinessExpense/' + id,
    method: 'get'
  })
}

// 保存持有型物业-项目费用
export function saveDealBusinessExpense(data) {
  return request({
    url: '/expense/dealBusinessExpense/save',
    method: 'post',
    data: data
  })
}

// 删除持有型物业-项目费用
export function delDealBusinessExpense(id) {
  return request({
    url: '/expense/dealBusinessExpense/' + id,
    method: 'delete'
  })
}

// 导出持有型物业-项目费用
export function exportDealBusinessExpense(query) {
  return request({
    url: '/expense/dealBusinessExpense/export',
    method: 'get',
    params: query
  })
}
